package ${domain}.module.wsys.req;

import ${domain}.frame.base.BaseFindRequest;
import ${domain}.frame.validation.Select;

import java.util.Date;

/**
 * FileFindRequest -  文件查询
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2017-01-01
 */
public class FileFindRequest extends BaseFindRequest {

    /**
     * 文件名称
     */
    private String name;

    /**
     * 文件类型.
     * IMG:图片
     * DOC:文档
     */
    @Select({"IMG", "DOC"})
    private String fileType;

    /**
     * 扩展属性1
     */
    private String attribute1;

    /**
     * 扩展属性2
     */
    private String attribute2;

    /**
     * 开始日期
     */
    private Date startDate;

    /**
     * 结束日期
     */
    private Date endDate;

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileType() {
        return this.fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getAttribute1() {
        return this.attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return this.attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
